<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="com.blog.entity.Blog"%>
<%@ page import="java.util.List"%>
<%@ page import="com.blog.util.MarkDownUtil"%>
<%@ page import="com.blog.util.Page"%>
<%@ page import="com.blog.service.impl.*"%>
<%@ page import="com.blog.service.*"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<base href="<%=basePath%>}">
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
SiteService siteService=new SiteServiceImpl();
request.setAttribute("site",siteService.selSite());
%>
<header class="full_page" id="page-header">
	<nav id="nav">
		<span id="blog_name"><a id="site-name" href="blog/index.jsp">${requestScope.site.name}</a></span>
		<span id="menus">
			<div class="menus_items">
				<div class="menus_item">
					<a class="site-page" href="blog/index.jsp"><i
						class="fa-fw fas fa-home"></i><span>首页</span></a>
				</div>
				<div class="menus_item">
					<a class="site-page" href="blog/archives.jsp"><i
						class="fa-fw fas fa-archive"></i><span> 时间轴</span></a>
				</div>
				<div class="menus_item">
					<a class="site-page" href="blog/tags.jsp"><i
						class="fa-fw fas fa-tags"></i><span> 标签</span></a>
				</div>
				<div class="menus_item">
					<a class="site-page" href="blog/categories.jsp"><i
						class="fa-fw fas fa-folder-open"></i><span> 分类</span></a>
				</div>
				<div class="menus_item">
					<a class="site-page" href="blog/link.jsp"><i
						class="fa-fw fas fa-link"></i><span> 友链</span></a>
				</div>
				<div class="menus_item">
					<a class="site-page" href="blog/about.jsp"><i
						class="fa-fw fas fa-heart"></i><span> 关于</span></a>
				</div>
			</div> <span class="close" id="toggle-menu"><a class="site-page"><i
					class="fas fa-bars fa-fw"></i></a> </span>
		</span>
	</nav>
	<div id="site-info">
		<h1 id="site_title">我的博客</h1>
		<div id="site_subtitle">
			<span id="subtitle"></span>
		</div>
		<div id="site_social_icons">
			<a class="social-icon" href="https://github.com/xxxxx"
				target="_blank" title="Github"><i class="fab fa-github"></i></a> <a
				class="social-icon" href="mailto:xxxxxx@gmail.com" target="_blank"
				title="Email"><i class="fas fa-envelope"></i></a> <a
				class="social-icon" href="mailto:xxxxxx@qq.com" target="_blank"
				title="Email"><i class="fab fa-qq"></i></a>
		</div>
	</div>
	<div id="scroll_down">
		<i class="fas fa-angle-down scroll-down-effects"></i>
	</div>
</header>